package com.cw.jeeyt.dao.model.system;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Table;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 表字段信息Do
 *
 * @author chenw
 * @date 2020-03-18 20:21:41
 */
@Table(name = "system_column_info")
@Getter
@Setter
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SystemColumnInfoDo extends SystemColumnInfoKeyDo implements Serializable {
    private static final long serialVersionUID = 1240252031952248865L;
    /** 表id */
    @Column(name = "table_id")
    private String tableId;
    /** 实体类字段编码 */
    @Column(name = "column_code")
    private String columnCode;
    /** 实体类字段名称 */
    @Column(name = "column_name")
    private String columnName;
    /** 字段长度 */
    @Column(name = "column_length")
    private String columnLength;
    /** 实体类字段类型 */
    @Column(name = "column_type")
    private String columnType;
    /** 数据库字段编码 */
    @Column(name = "column_sql_code")
    private String columnSqlCode;
    /** 数据库字段类型 */
    @Column(name = "column_sql_type")
    private String columnSqlType;
    /** 是否主键 */
    @Column(name = "is_pk")
    private String isPk;
    /** 是否是数据字典 */
    @Column(name = "is_dict")
    private String isDict;
    /** 数据字典值 */
    @Column(name = "dict_code")
    private String dictCode;
    /** 数据字典类型 */
    @Column(name = "dict_type")
    private String dictType;
    /** 是否金额类型 */
    @Column(name = "is_amt")
    private String isAmt;
    /** 是否数字 */
    @Column(name = "is_number")
    private String isNumber;
    /** 是否利率类型 */
    @Column(name = "is_rate")
    private String isRate;
    /** 是否日期 */
    @Column(name = "is_date")
    private String isDate;
    /** 备注 */
    @Column(name = "column_comment")
    private String columnComment;
    /** 是否查询字段 */
    @Column(name = "is_query_column")
    private String isQueryColumn;
    /** 是否排序字段 */
    @Column(name = "is_order_column")
    private String isOrderColumn;
    /** 是否列表字段 */
    @Column(name = "is_list_column")
    private String isListColumn;
    /** 是否form表单字段 */
    @Column(name = "is_form_column")
    private String isFormColumn;
    /** 排序方式 */
    @Column(name = "order_type")
    private String orderType;
    /** 查询方式 */
    @Column(name = "query_type")
    private String queryType;
    /** 是否字符串日期 */
    @Column(name = "is_str_date")
    private String isStrDate;
    /** 是否必填 */
    @Column(name = "is_required")
    private String isRequired;
    /** 创建人 */
    @Column(name = "create_by")
    private Long createBy;
    /** 创建时间 */
    @Column(name = "create_date")
    private java.util.Date createDate;
    /** 修改人 */
    @Column(name = "update_by")
    private Long updateBy;
    /** 修改时间 */
    @Column(name = "update_date")
    private java.util.Date updateDate;
    /**
     * 是否富文本
     */
    @Column(name = "is_textarea")
    private String isTextarea;
}
